﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class ThirdForm : Form
    {
        public ThirdForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var qqq = textBox1.Text;
            var bbb = "亲戚关系";
            if (qqq == bbb)
            {
                MessageBox.Show("回答正确，进入下一关卡！");
                FinalyForm finalyForm = new FinalyForm();
                this.Hide();
                finalyForm.Show();
            }
            else
            {
                MessageBox.Show("回答错误，闯关失败你就是猪！！！！");
            }
            

        }
    }
}
